#!/bin/bash

chmod -R 777 downloads/ feeds/ galleries/ images/ previews/ themes/
chmod 777 tmp/ tmp/cache/ system/tmp/ smartoptimizer/cache/
chmod 666 seotoaster_core/application/configs/application.ini
chmod 666 seotoaster_core/application/configs/routesext.xml
chmod 666 sitemap* tmp/pfs.prs config.php .htaccess products.xml robots.txt
chmod 666 system/js/tiny_mce/link_list.js
chmod 666 system/js/tiny_mce/medialist.js